package supertest;

public class Person {
    public Person() {
        System.out.println("Person 的无参构造");
    }
    public Person(String name) {
        this.name = name;
        System.out.println("Person的有参构造");
    }
    protected String name = "person";

    public void fun() {
        System.out.println("Person的fun方法");
    }

    public String toString() {
        return "Person的toString方法";
    }

}
